package com.xique.door.bean.domain;

import com.xique.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;


/**
 * device对象 d_card_device
 * 
 * @author caogq
 * @date 2022-02-26
 */
@Data
@NoArgsConstructor
public class CardDevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 项目id */
    private Long parkId;

    /** 卡号 */
    private String cardSn;

    private Long cardId;

    /** 卡用户唯一id */
    private String customId;

    /** 设备id */
    private Long deviceId;

    /** 设备sn */
    private String devSn;

    /** 下发状态 */
    private String status;

    private String model;

    private String deviceName;

    private List<Long> cardIds;
    private List<String> cardSns;

    public CardDevice(List<Long> cardIds) {
        this.cardIds = cardIds;
    }
}
